package po;
/**
* @author gem
* 用户
*/
public class User {
	private String userId;
	private String userName;
	private String userGender;
	private String userImagePath;
	private String userPassword;
	private String motto;
	private int commentNum;


	public User(String id, String password,String name,String gender,int commentNum,String motto,String imagePath) {
		this.userId = id;
		this.userPassword = password;
		this.userName = name;		
		this.userGender = gender;
		this.commentNum = commentNum;
		this.motto = motto;
		this.userImagePath = imagePath;
	}
	public User(String id, String password) {
		this(id,password,"","",0,"","");
	}
	public User(String id, String password,String name) {
		this(id,password,name,"",0,"","");
	}
	public String getUserId() {
		return userId;
	}
	public void setUserId(String userId) {
		this.userId = userId;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getUserGender() {
		return userGender;
	}
	public void setUserGender(String userGender) {
		this.userGender = userGender;
	}
	public String getUserImagePath() {
		return userImagePath;
	}
	public void setUserImagePath(String userImagePath) {
		this.userImagePath = userImagePath;
	}
	public String getUserPassword() {
		return userPassword;
	}
	public void setUserPassword(String userPassword) {
		this.userPassword = userPassword;
	}
	public String getMotto() {
		return motto;
	}
	public void setMotto(String mmotto) {
		this.motto = mmotto;
	}
	public int getCommentNum() {
		return commentNum;
	}
	public void setCommentNum(int commentNum) {
		this.commentNum = commentNum;
	}
}
